-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating sql connector version and testing integration with OAuth #436
Conversation
requirements.txt
Outdated
@@ -1,4 +1,4 @@ | |||
databricks-sql-connector~=2.7.0 | |||
databricks-sql-connector>=2.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason not to simply pin to the latest connector version? I'm okay with a wider specification, but it might be nicer to just hard-code to the latest and greatest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only issue is keeping them in sync. Per our discussion this morning, I'm ok updating to >= 2.9.3, <3. If you make optional improvements in databricks-sql-connector, I don't want to force this project to have a release just to get access to them.
8da0065
dd9ed06
to
8da0065
Compare
Initially aimed to resolve #433 and #410, but now believe there was a different issue at play there.
Description
Updates the databricks-sql-connector version. Initially I updated the version to >=2.9.0, but upon further testing, I didn't actually find an issue with 2.7.0. However, our previous version spec did not allow 2.9.x, which seems like an oversight.
Updates our integration test suite on Github Actions to use OAuth rather than token. As we are advertising that the connector supports this feature and that it is safer than using a PAT, we gain more by dogfooding with OAuth than continuing to test only PAT.
Updates the workflow README to inform users that jobs clusters are no longer supported for dbt tasks in Databricks Workflows (and haven't been for several months at least).
Checklist
CHANGELOG.md
and added information about my change to the "dbt-databricks next" section.